package com.jqr.activity.myrecyclerviewdemo.adapters;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.jqr.activity.myrecyclerviewdemo.R;
import com.jqr.activity.myrecyclerviewdemo.model.ItemModel;

import org.w3c.dom.Text;

import java.util.List;

public class ListViewRecycleViewAdapter extends RecycleAdapterBase{
    public  ListViewRecycleViewAdapter(List<ItemModel> itemModels){
        super(itemModels);
    }
    @Override
    public View getSubView(@NonNull ViewGroup parent, int viewType) {
        return View.inflate(parent.getContext(),R.layout.list_view_recycle_view_item,null);
    }
}
